package cn.zhang.entity;

import java.util.Set;

public class User {

	private Integer uid;
	private String username;
	private String userpwd;
	
	private Set<Role> roleset;

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpwd() {
		return userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}

	public Set<Role> getRoleset() {
		return roleset;
	}

	public void setRoleset(Set<Role> roleset) {
		this.roleset = roleset;
	}

	@Override
	public String toString() {
		return "User [uid=" + uid + ", username=" + username + ", userpwd=" + userpwd + ", roleset=" + roleset + "]";
	}

	
	
	
}
